function y=Ackley6(xx)
[row,col] = size(xx);
if  row > 1 
    error( 'error ' );
end
y1= 20 + exp(1);
y3=sum(xx.^2);
y4=sum(cos(2*pi* xx));
%y2=0;
%for h=1:col
y2=(-20)* exp(-0.2 * sqrt(1/30 * y3 )) - exp(1/30 * y4) ; 
%end
y=y1+y2;



